App Investigation
Enter the app-investigation/support/
folder and go through the practice items below.
Select a binary executable application and a scripted application.
Use
ldd
on the two applications. Notice the resulting messages and explain the results.Use
ltrace
andstrace
on the two applications. Follow the library calls and the system calls done by each application.Check to see whether there are statically-linked application executables in the system. The
file
command tells if the file passed as argument is a statically-linked executable. If you can't find one, install thebusybox-static
package.Look into what busybox is and explain why it's custom to have it as statically-linked executable.
Run
ldd
,nm
,strace
,ltrace
on a statically-linked application executable. Explain the results.
If you're having difficulties solving this exercise, go through this reading material.